\hypertarget{structsc2_1_1_upgrade_data}{}\section{sc2\+:\+:Upgrade\+Data Struct Reference}
\label{structsc2_1_1_upgrade_data}\index{sc2\+::\+Upgrade\+Data@{sc2\+::\+Upgrade\+Data}}


Upgrade data.  




{\ttfamily \#include $<$sc2\+\_\+data.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_a14c5db44ff8de245a4cd01592c3e6eeb}\label{structsc2_1_1_upgrade_data_a14c5db44ff8de245a4cd01592c3e6eeb}} 
void {\bfseries Read\+From\+Proto} (const S\+C2\+A\+P\+I\+Protocol\+::\+Upgrade\+Data \&upgrade\+\_\+data)
\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_ab9641667d3a1ba0bb61ebd892a3fa8a5}\label{structsc2_1_1_upgrade_data_ab9641667d3a1ba0bb61ebd892a3fa8a5}} 
std\+::string {\bfseries Log} () const
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_a029e671b0ca85d874b3723cae5f9b9ef}\label{structsc2_1_1_upgrade_data_a029e671b0ca85d874b3723cae5f9b9ef}} 
uint32\+\_\+t \hyperlink{structsc2_1_1_upgrade_data_a029e671b0ca85d874b3723cae5f9b9ef}{upgrade\+\_\+id}
\begin{DoxyCompactList}\small\item\em Stable ID. This ID will not change between patches. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_a8d8a126e4bee8c434bad896d3ac2c9be}\label{structsc2_1_1_upgrade_data_a8d8a126e4bee8c434bad896d3ac2c9be}} 
std\+::string \hyperlink{structsc2_1_1_upgrade_data_a8d8a126e4bee8c434bad896d3ac2c9be}{name}
\begin{DoxyCompactList}\small\item\em Upgrade name, corresponds to the game\textquotesingle{}s catalog. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_ae33d6c11380dd7c54f602285ec2c2a4d}\label{structsc2_1_1_upgrade_data_ae33d6c11380dd7c54f602285ec2c2a4d}} 
uint32\+\_\+t \hyperlink{structsc2_1_1_upgrade_data_ae33d6c11380dd7c54f602285ec2c2a4d}{mineral\+\_\+cost}
\begin{DoxyCompactList}\small\item\em Mineral cost of researching the upgrade. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_a678af2926b21ec88dc59459ac1695c52}\label{structsc2_1_1_upgrade_data_a678af2926b21ec88dc59459ac1695c52}} 
uint32\+\_\+t \hyperlink{structsc2_1_1_upgrade_data_a678af2926b21ec88dc59459ac1695c52}{vespene\+\_\+cost}
\begin{DoxyCompactList}\small\item\em Vespene cost of researching the upgrade. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_a460ded61dfae1ad19845ff12cc4b7f86}\label{structsc2_1_1_upgrade_data_a460ded61dfae1ad19845ff12cc4b7f86}} 
\hyperlink{classsc2_1_1_s_c2_type}{Ability\+ID} \hyperlink{structsc2_1_1_upgrade_data_a460ded61dfae1ad19845ff12cc4b7f86}{ability\+\_\+id}
\begin{DoxyCompactList}\small\item\em Ability that researches this upgrade. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_upgrade_data_a5be26db3c987d0bc79345ea2e0387ac6}\label{structsc2_1_1_upgrade_data_a5be26db3c987d0bc79345ea2e0387ac6}} 
float \hyperlink{structsc2_1_1_upgrade_data_a5be26db3c987d0bc79345ea2e0387ac6}{research\+\_\+time}
\begin{DoxyCompactList}\small\item\em Time in Game\+Loops to research this upgrade. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Upgrade data. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/sc2\+\_\+data.\+h\end{DoxyCompactItemize}
